<form id="pagerForm" action="__URL__/documentList/pid/{$pid}" method="post">
    <include file="Public/pagerForm" />
    <input type="hidden" name="pid" value="{$search['pid']}" />
</form>
<style>tr td,th{text-align:center}.typestyle{padding: 3px 8px;font-size: 13px;color: #fff;border-radius: 4px;}</style>
<div class="pageHeader">
    <form onsubmit="return navTabSearch(this);" action="__URL__/documentList/pid/{$pid}" method="post">
    <div class="searchBar">
        <ul class="searchContent">
			<li>
                <label>内刊标题：</label>
                <input type="text" value="{$search['title']}" name="title" style="width:110px">
            </li>
			<li>
				<label>显示状态：</label>
				<select name="status">
					<option value="0">请选择</option>
					<option value="1" <if condition="1 == $search['status']">  selected = "selected" </if> >显示</option>
					<option value="2" <if condition="2 == $search['status']">  selected = "selected" </if> >隐藏</option>
				</select>
			</li>
        </ul>
        <div class="subBar">
            <ul>
                <li><div class="buttonActive"><div class="buttonContent"><button type="submit">查询</button></div></div></li>
            </ul>
        </div>
    </div>
    </form>
</div>

<div class="pageContent">
    <div class="panelBar" style="background:none;">
        <ul class="toolBar">
        	<if condition="$pid neq 7">
            <li>
                <a href="__URL__/create/opttype/17" class="add" rel="article_add" target="navTab"  title="添加"> <!--   -->
                    <i class="iconfont">&#xe601;</i>
                    <span>添加</span>
                </a>
            </li>
			</if>
            <li>
                <a href="__URL__/edit/id/{sid_user}/opttype/17" rel="article_edit" class="edit" target="navTab" title="编辑">
                    <i class="iconfont">&#xe607;</i>
                    <span>编辑</span>
                </a>
            </li>
        	<if condition="$pid neq 7">
            <li>
                <a class="delete" href="__URL__/remove" target="selectedTodo" rel="id" posttype="string" title="你确定要批量删除吗？">
                    <i class="iconfont">&#xe612;</i>
                    <span>删除</span>
                </a>
            </li>
			</if>
        </ul>
    </div>
    <table class="table" width="100%" layoutH="206">
        <thead>
        <tr>
            <th width="2%" class="txtMid"><input type="checkbox" group="id" class="checkboxCtrl" ></th>
            <th width="3%">编号</th>
            <th width="10%">内刊标题</th>
            <th width="10%">所属分类</th>
            <th width="20%">下载内刊</th>
			<th width="5%">排序</th>
            <th width="10%">创建时间</th> 
            <th width="5%">发布状态</th>
        </tr>
        </thead>
        <tbody>
        <if condition="$dataList|count gt 0">
            <volist name="dataList" id="value" key="k">
                <tr target="sid_user" rel="{$value['id']}" >
                    <td class="txtMid"><input name="id" value="{$value['id']}" type="checkbox"></td>
                    <td class="txtMid">{$key+1}</td>
                    <td>{$value['title']}</td>
                    <td>腾铭内刊</td>
                    <td>
						【<a href="{$value['content']}" style="color: #09F">点击下载</a>】
                    </td>
					<td>{$value['sort']}</td>
                    <td>{$value['create_time']|date='Y-m-d H:i:s',###}</td>  
                    <td>
						<if condition="$value['status'] eq 0">
							<span class="typestyle" style="line-height:60px;background-color:#90EE90;">显示</span>
	                    <else />
	                    	<span class="typestyle" style="line-height:60px;background-color:#EE3B3B;">隐藏</span>
	                    </if>
                    </td>
                </tr>
            </volist>
            <else />
        <tr><td colspan="10" style="text-align:center;">没有数据!!!</td></tr>
        </if>
        </tbody>
    </table>
    <include file="Public/pagination" />
</div>